package com.ease.util.reflection {
   import com.ease.util.ProfilingManager;

   /**
    * Represents meta tag arguments reflection info.
    */
   public class TagArgReflectionInfo {
      /**
       * The tag argument key attribute.
       */
      public var key:String;

      /**
       * The tag argument value attribute, or null if none.
       */
      public var value:String;

      /**
       * @see ProfilingManager.getObjectSize.
       */
      public function getNestedSize():int {
         var size1:int = ProfilingManager.instance.getObjectSize(this.key);
         var size2:int = ProfilingManager.instance.getObjectSize(this.value);
         return  size1 + size2;
      }
   }
}